projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f735965
)
(Fcall_interactively): In `c' case, use message_nolog
author
Richard M. Stallman
<rms@gnu.org>
Wed, 20 Mar 1996 13:34:21 +0000
(13:34 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 20 Mar 1996 13:34:21 +0000
(13:34 +0000)
instead of message1_nolog.
src/callint.c
patch
|
blob
|
history
diff --git
a/src/callint.c
b/src/callint.c
index a874053d2299e9fd6f01c9254723074f32ca9c4b..9e9a1f1d0dc6e3bd664710cd5b7742a9e82372c1 100644
(file)
--- a/
src/callint.c
+++ b/
src/callint.c
@@
-480,7
+480,10
@@
Otherwise, this is done only if an arg is read using the minibuffer.")
break;
case 'c': /* Character */
- message1_nolog (callint_message);
+ /* Use message_nolog rather than message1_nolog here,
+ so that nothing bad happens if callint_message is changed
+ within Fread_char (by a timer, for example). */
+ message_nolog ("%s", callint_message);
args[i] = Fread_char ();
message1_nolog ((char *) 0);
/* Passing args[i] directly stimulates compiler bug */